package com.zhx.basis.设计模式.状态模式.demo1;

import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Main {

    public static void main(String[] args) {
            String activityId = "100001";
            StateHandler stateHandler = new StateHandler();
            Result result = stateHandler.arraignment(activityId, Status.Editing);
            log.info("测试结果(编辑中To提审活动)：{}", JSON.toJSONString(result));
    }
}
